import "../css/search.scss"
import "../css/common/header.scss"
import "../css/common/footer.scss"


(function(){
    // localStorage.getItem('searchItem');
    $('.search input').attr('placeholder',localStorage.getItem('searchItem'));
    //ajax
    $('.switchBtn').click(function(){
        $('.switchBtn').removeClass('active');
        $(this).addClass('active');
        $('.search-content').hide();
        $('.search-content').eq($(this).index()/2).show();
    })
})();